package com.spzx.product.controller;

import com.spzx.common.core.web.controller.BaseController;
import com.spzx.common.core.web.domain.AjaxResult;
import com.spzx.product.service.TestService;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName: TestController
 * Description:
 *
 * @Author linz
 * @Creat 2025/3/18 20:34
 * @Version 1.00
 */
@Tag(name = "测试接口")
@RestController
@RequestMapping("/test")
public class TestController extends BaseController {
    @Autowired
    private TestService testService;

    @GetMapping("/testLock")
    public AjaxResult testLock() {
        testService.testLock();
        return AjaxResult.success();
    }
}
